<?php


namespace App\Http\Controllers;
use App\Models\User as users;
use Illuminate\Http\Request;
class User extends \Illuminate\Routing\Controller
{
    public function User(Request $request)
    {
        $user=new users();
        $users=$request->session()->get('uname');
        $usersRows=$user->where('uname',$users)->first();
       return view('member',['usersRows'=>$usersRows,'users'=>$users]);
    }
}
